// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './main-form-model';

export class FormControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'field01', 'field02', 'field03', 'field04', 'field05', 'field', 'field06', 'field07', 'field2', 'field08', 'field09', 'field10', 'field11', 'field12', 'field13', 'field14', 'field15', 'field16', 'field24', 'field17', 'field18', 'field19', 'field20', 'field21', 'field22', 'formitem', 'formitem1', 'formitem2', 'formitem3', 'formitem4', 'ibizsample0001id'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.ibizsample0001id;
    }
    set srfkey(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    get srfmajortext() {
        return this.$DO.ibizsample0001name;
    }
    set srfmajortext(value: any) {
        this.$DO.ibizsample0001name = value;
    }
    get field01() {
        return this.$DO.field01;
    }
    set field01(value: any) {
        this.$DO.field01 = value;
    }
    get field02() {
        return this.$DO.field02;
    }
    set field02(value: any) {
        this.$DO.field02 = value;
    }
    get field03() {
        return this.$DO.field03;
    }
    set field03(value: any) {
        this.$DO.field03 = value;
    }
    get field04() {
        return this.$DO.field04;
    }
    set field04(value: any) {
        this.$DO.field04 = value;
    }
    get field05() {
        return this.$DO.field05;
    }
    set field05(value: any) {
        this.$DO.field05 = value;
    }
    get field() {
        return this.$DO.field;
    }
    set field(value: any) {
        this.$DO.field = value;
    }
    get field06() {
        return this.$DO.field06;
    }
    set field06(value: any) {
        this.$DO.field06 = value;
    }
    get field07() {
        return this.$DO.field07;
    }
    set field07(value: any) {
        this.$DO.field07 = value;
    }
    get field2() {
        return this.$DO.field2;
    }
    set field2(value: any) {
        this.$DO.field2 = value;
    }
    get field08() {
        return this.$DO.field08;
    }
    set field08(value: any) {
        this.$DO.field08 = value;
    }
    get field09() {
        return this.$DO.field09;
    }
    set field09(value: any) {
        this.$DO.field09 = value;
    }
    get field10() {
        return this.$DO.field10;
    }
    set field10(value: any) {
        this.$DO.field10 = value;
    }
    get field11() {
        return this.$DO.field11;
    }
    set field11(value: any) {
        this.$DO.field11 = value;
    }
    get field12() {
        return this.$DO.field12;
    }
    set field12(value: any) {
        this.$DO.field12 = value;
    }
    get field13() {
        return this.$DO.field13;
    }
    set field13(value: any) {
        this.$DO.field13 = value;
    }
    get field14() {
        return this.$DO.field14;
    }
    set field14(value: any) {
        this.$DO.field14 = value;
    }
    get field15() {
        return this.$DO.field15;
    }
    set field15(value: any) {
        this.$DO.field15 = value;
    }
    get field16() {
        return this.$DO.field16;
    }
    set field16(value: any) {
        this.$DO.field16 = value;
    }
    get field24() {
        return this.$DO.field24;
    }
    set field24(value: any) {
        this.$DO.field24 = value;
    }
    get field17() {
        return this.$DO.field17;
    }
    set field17(value: any) {
        this.$DO.field17 = value;
    }
    get field18() {
        return this.$DO.field18;
    }
    set field18(value: any) {
        this.$DO.field18 = value;
    }
    get field19() {
        return this.$DO.field19;
    }
    set field19(value: any) {
        this.$DO.field19 = value;
    }
    get field20() {
        return this.$DO.field20;
    }
    set field20(value: any) {
        this.$DO.field20 = value;
    }
    get field21() {
        return this.$DO.field21;
    }
    set field21(value: any) {
        this.$DO.field21 = value;
    }
    get field22() {
        return this.$DO.field22;
    }
    set field22(value: any) {
        this.$DO.field22 = value;
    }
    get formitem() {
        return this.$DO.updateman;
    }
    set formitem(value: any) {
        this.$DO.updateman = value;
    }
    get formitem1() {
        return this.$DO.updatedate;
    }
    set formitem1(value: any) {
        this.$DO.updatedate = value;
    }
    get formitem2() {
        return this.$DO.ibizsample0001name;
    }
    set formitem2(value: any) {
        this.$DO.ibizsample0001name = value;
    }
    get formitem3() {
        return this.$DO.field09;
    }
    set formitem3(value: any) {
        this.$DO.field09 = value;
    }
    get formitem4() {
        return this.$DO.field08;
    }
    set formitem4(value: any) {
        this.$DO.field08 = value;
    }
    get ibizsample0001id() {
        return this.$DO.ibizsample0001id;
    }
    set ibizsample0001id(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    // 界面主键标识
    get ibizsample0001() {
        return this.$DO.ibizsample0001id;
    }

    set ibizsample0001(value: any) {
        this.$DO.ibizsample0001id = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof FormControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            field01: this.$DO.field01,
field02: this.$DO.field02,
field03: this.$DO.field03,
field04: this.$DO.field04,
field05: this.$DO.field05,
field: this.$DO.field,
field06: this.$DO.field06,
field07: this.$DO.field07,
field2: this.$DO.field2,
field08: this.$DO.field08,
field09: this.$DO.field09,
field10: this.$DO.field10,
field11: this.$DO.field11,
field12: this.$DO.field12,
field13: this.$DO.field13,
field14: this.$DO.field14,
field15: this.$DO.field15,
field16: this.$DO.field16,
field24: this.$DO.field24,
field17: this.$DO.field17,
field18: this.$DO.field18,
field19: this.$DO.field19,
field20: this.$DO.field20,
field21: this.$DO.field21,
field22: this.$DO.field22,
updateman: this.$DO.updateman,
updatedate: this.$DO.updatedate,
ibizsample0001name: this.$DO.ibizsample0001name,
ibizsample0001id: this.$DO.ibizsample0001id,
        }
	}

}